﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Waker.WebService
{
    public partial class test : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }
        Service _Service = new Service();
        protected void btnGetData_Click(object sender, EventArgs e)
        {
            tbResult.Text = _Service.HelloWorld();
        }
        protected void btnGetDep_Click(object sender, EventArgs e)
        {
            tbResult.Text = _Service.GetAllDeption();
        }
        protected void Button1_Click(object sender, EventArgs e)
        {
            var depIds = tbDepIds.Text.Trim();
            if (string.IsNullOrEmpty(depIds))
                return;
            tbResult.Text = _Service.GetThreeSafeEduRecord(depIds);
        }

    }
}